package cn.wolfcode.car.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Leave {

    public static final String STATUS_IN_ROGRESS = "审核中";
    public static final String STATUS_REJECT = "审核拒绝";
    public static final String STATUS_PASS = "审核通过";
    public static final String STATUS_CANCEL = "初始化";

    /** */
    private Long id;

    /** */
    private String name;

    /** */
    private String reason;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm" )
    private Date starttime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm" )
    private Date endtime;

      /** */
    private Integer auditid;

    /** */
    private String status;

    /** */
    private String info;




}